<?php
	echo $this->Form->create('User', array('url' => array('controller' => 'users', 'action' => 'login'), 'class' => 'form-horizontal'));
?>	
<div class="control-group">
	<div class="controls">
		<label class="control-label" >User Name</label>
		<div class="controls">
			<?php 
			echo $this->Form->input('user_name', array('label' => false, 'value' => 'vanlt'));
			?>
			
		</div>
		<br>
		<label class="control-label" >Password</label>
		 <div class="controls">
			<?php 
			echo $this->Form->input('password', array('type' => 'password', 'label' => false, 'value' => 'lethivan'));
			?>
			
		</div>
		<br>
		<div class="controls">
			<?php 
			echo $this->Form->submit('Login', array('class' => 'btn btn-primary'));
			?>
		</div>
	 
	</div>
</div>
<?php echo $this->Form->end(); ?>	 
